package com.woniu.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.woniu.conversion.ExcelDateConversion;
import lombok.Data;

import java.util.Date;

@Data
public class TaskExcelVo {
    @ExcelProperty("任务编号")
    private String taskNumber;

    @ExcelProperty("任务名称")
    private String taskName;

    @ExcelProperty("任务类型")
    private String taskType;

    @ExcelProperty("充电站名称")
    private String stationName;

    @ExcelIgnore
    private String userName;

    @ExcelIgnore
    private String stationManager;

    @ExcelProperty(value = "任务预计开始时间", converter = ExcelDateConversion.class)
    private Date plannedStartTime;

    @ExcelProperty(value = "任务预计结束时间", converter = ExcelDateConversion.class)
    private Date plannedEndTime;

    @ExcelProperty(value = "任务实际开始时间", converter = ExcelDateConversion.class)
    private Date actualStartTime;

    @ExcelProperty(value = "任务实际开始时间", converter = ExcelDateConversion.class)
    private Date actualEndTime;

    @ExcelProperty("任务状态")
    private String taskStatus;
}
